import { request } from "../../static/core/request";

// 获取电站列表
export const getCustomerList = (data) => {
  return request({ method: 'get', url: 'customer/list', data })
}
export const getPowerStationList = (data) => {
  return getCustomerList(data)
}
// 获取信息登记详情
export const getCustomerEntryDetail = (entryId) => {
  return request({ method: 'get', url: 'customer/detail', data: { entryId: entryId }})
}
// 保存信息登记
export const saveOrEditCustomerEntry = (data) => {
  return request({ method: 'post', url: 'applet/saveOrEditCustomerEntry', data })
}
// 方案列表
export const findAllPlan = (data) => {
  return request({ method: 'get', url: 'applet/findAllPlan', data })
}
// 产品详情信息
export const getProjectInfoDetailApi = (id) => {
  return request({ method: 'get', url: `systemset/projectInfo/detail/${id}`})
}


